package io.renren.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.entity.OrderEntity;
import io.renren.modules.app.req.CreateOrderReq;
import io.renren.modules.app.vo.CreateOrderPayVO;
import io.renren.modules.app.vo.CreateOrderVO;

import java.util.Map;

/**
 * 订单表
 *
 * @author MR.XU
 * @email 260139486@qq.com
 * @date 2021-01-19 10:04:49
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    CreateOrderVO createOrder(CreateOrderReq createOrderReq);

    void cancelOrder(String orderId);

    CreateOrderPayVO continuePay(String orderCode);

    void orderBalancePay(String orderCode);
}

